#!/bin/bash

current_dir=$(pwd)
parent_dir="${current_dir%/*}"
grandparent_dir="${parent_dir%/*}"

cd ${grandparent_dir}
make clean
make all

cd -
make clean
make

cp catface_detect_run ~/tftp_share
cp ${grandparent_dir}/xb_libs/lib_catface_recog.so  ~/tftp_share

md5sum  catface_detect_run